WooCommerce\PayPalCommerce\Button\Endpoint\CreateOrderEndpoint B

Total Complexity 83
Dependencies 34
Dependents 2
Total lines 468
Lines of code 234
Logical lines of code 171
Comment lines 70
Methods 10
Properties 24

Methods 10

Method Rating Maintainability Complexity Lines of code
handle_request()
D
32 36 79
create_paypal_order()
B
36 21 71
payer()
A
51 10 25
should_handle_shipping_in_paypal()
S
67 4 7
set_bn_code()
S
66 3 8
validate_form()
S
63 3 10
validate_paynow_form()
S
71 3 5
__construct()
S
53 1 23
nonce()
S
80 1 3
make_response()
S
77 1 3